import java.util.ArrayList;


public class Variable {
	
	int name;
	ArrayList<String> values = new ArrayList<String>();
	//ArrayList<Type> types = new ArrayList<Type>();
	
	boolean positive = true;

	public int hashCode(){	
		return toString().hashCode();
	}
	
	public Variable copy() {
		Variable wyn = new Variable();
		wyn.name=name;
		for(String s: values){
			wyn.values.add(s);
		}
		/*for(Type t: types){
			wyn.types.add(t);
		}*/
		wyn.positive=positive;
		return wyn;
	}
	
	public String toString(){
		String wyn = ""+Parser.stringi.get(name);
		for(String s: values){
			wyn+=" "+s;
		}
		return wyn;
	}
}
